/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ccit;

import java.util.Date;

/**
 *
 * @author think
 */
public class Mobil {
    
    
    public String jenis; //Bus, Sedan, dll
    public int jumlahPenumpang;

    public String getJenis() {
        return jenis;
    }

    public void setJenis(String jenis) {
        this.jenis = jenis;
    }

    public int getJumlahPenumpang() {
        return jumlahPenumpang;
    }

    public void setJumlahPenumpang(int jumlahPenumpang) {
        this.jumlahPenumpang = jumlahPenumpang;
    }
    
    
    Mobil mobil = new Mobil();
    
    
    
    
    
    public void belok(){
        System.out.println("belok");
    }
    
    public static void main(String[] args){
        
         Mobil mobil = new Mobil();
         mobil.setJenis("Bus");
         mobil.getJenis();
         mobil.setJenis("Sedan");
    }
}
